#include <iostream>

using namespace std;

int main()
{
    freopen("arena.in", "r", stdin);
    freopen("arena.out", "w", stdout);
    int n;
    cin >> n;
    for(int i = 0; i < n; i++) cout << 1 << endl;
    return 0;
}
